From: Jochen Sprickerhof Date: Fri, 18 Aug 2017 09:30:38 +0000 (+0200) Subject: Fix PCL_ROOT path X-Git-Tag: archive/raspbian/1.12.1+dfsg-4+rpi1~1^2^2^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=7fab8054f3ac58f6e0f85c1d7e462e7d3e48c176;p=pcl.git Fix PCL_ROOT path Gbp-Pq: Name 0001-Fix-PCL_ROOT-path.patch --- diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in index 6fadb595..34439056 100644 --- a/PCLConfig.cmake.in +++ b/PCLConfig.cmake.in @@ -393,7 +393,7 @@ if(WIN32 AND NOT MINGW) get_filename_component(PCL_ROOT "${PCL_DIR}" PATH) else(WIN32 AND NOT MINGW) # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y - get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) + get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE) endif(WIN32 AND NOT MINGW) # check whether PCLConfig.cmake is found into a PCL installation or in a build tree